<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>glTFUtils | ts</title>
	<meta name="description" content="Documentation for ts">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">ts</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
							<input type="checkbox" id="tsd-filter-only-exported" />
							<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../globals.html">Globals</a>
				</li>
				<li>
					<a href="../modules/_laya_gltf_gltfutils_.html">&quot;laya/gltf/glTFUtils&quot;</a>
				</li>
				<li>
					<a href="_laya_gltf_gltfutils_.gltfutils.html">glTFUtils</a>
				</li>
			</ul>
			<h1>Class glTFUtils</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p><code>glTFUtils<code> 用于解析 glTF 2.0 对象</p>

                </div>
        </div>
        </section>


    <section class="tsd-panel tsd-hierarchy">
        <h3>Hierarchy</h3>
        <ul class="tsd-hierarchy">
        <li>
                <span class="target">glTFUtils</span>

        </li>
</ul>

    </section>





        <section class="tsd-panel-group tsd-index-group">
        <h2>Index</h2>
        <section class="tsd-panel tsd-index-panel">
            <div class="tsd-index-content">
                    <section class="tsd-index-section ">
                            <h3>Properties</h3>
                            <ul class="tsd-index-list">
                                    <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#extensions" class="tsd-kind-icon">Extensions</a></li>
                                    <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#extras" class="tsd-kind-icon">Extras</a></li>
                            </ul>
                    </section>
                    <section class="tsd-index-section ">
                            <h3>Methods</h3>
                            <ul class="tsd-index-list">
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#registerextra" class="tsd-kind-icon">Register<wbr>Extra</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#unregisterextra" class="tsd-kind-icon">Un<wbr>Register<wbr>Extra</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#_createmesh" class="tsd-kind-icon">_create<wbr>Mesh</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#_createmeshsprite3d" class="tsd-kind-icon">_create<wbr>Mesh<wbr>Sprite3D</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#_createscenenode" class="tsd-kind-icon">_create<wbr>Scene<wbr>Node</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#_createskinnedmeshsprite3d" class="tsd-kind-icon">_create<wbr>Skinned<wbr>Mesh<wbr>Sprite3D</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#_createsprite3d" class="tsd-kind-icon">_create<wbr>Sprite3D</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#_createdefaultmaterial" class="tsd-kind-icon">_createdefault<wbr>Material</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#applypbrmetallicroughness" class="tsd-kind-icon">applyPBRMetallic<wbr>Roughness</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#applytransform" class="tsd-kind-icon">apply<wbr>Transform</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#calskinnedspritelocalbounds" class="tsd-kind-icon">cal<wbr>Skinned<wbr>Sprite<wbr>Local<wbr>Bounds</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#getaccessorcomponentsnum" class="tsd-kind-icon">get<wbr>Accessor<wbr>Components<wbr>Num</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#getanimationroot" class="tsd-kind-icon">get<wbr>Animation<wbr>Root</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#getattributenum" class="tsd-kind-icon">get<wbr>Attribute<wbr>Num</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#getbufferwithaccessorindex" class="tsd-kind-icon">get<wbr>Bufferwith<wbr>Accessor<wbr>Index</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#gettextureconstructparams" class="tsd-kind-icon">get<wbr>Texture<wbr>Construct<wbr>Params</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturefiltermode" class="tsd-kind-icon">get<wbr>Texture<wbr>Filter<wbr>Mode</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#gettextureformat" class="tsd-kind-icon">get<wbr>Texture<wbr>Format</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturemipmap" class="tsd-kind-icon">get<wbr>Texture<wbr>Mipmap</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturepropertyparams" class="tsd-kind-icon">get<wbr>Texture<wbr>Property<wbr>Params</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturewrapmode" class="tsd-kind-icon">get<wbr>Texture<wbr>Wrap<wbr>Mode</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturewithinfo" class="tsd-kind-icon">get<wbr>Texturewith<wbr>Info</a></li>
                                    <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="_laya_gltf_gltfutils_.gltfutils.html#pickmeshmaterials" class="tsd-kind-icon">pick<wbr>Mesh<wbr>Materials</a></li>
                            </ul>
                    </section>
            </div>
        </section>
    </section>
                    <section class="tsd-panel-group tsd-member-group ">
        <h2>Properties</h2>
                <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
    <a name="extensions" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> Extensions</h3>

        <div class="tsd-signature tsd-kind-icon">Extensions<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>

<aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L87">laya/gltf/glTFUtils.ts:87</a></li>
        </ul>
</aside>


    <div class="tsd-type-declaration">
        <h4>Type declaration</h4>
            <ul class="tsd-parameters">
        <li class="tsd-parameter-index-signature">
            <h5><span class="tsd-signature-symbol">[</span>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="_laya_utils_handler_.handler.html" class="tsd-signature-type">Handler</a></h5>

                
        </li>
</ul>
    </div>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
    <a name="extras" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> Extras</h3>

        <div class="tsd-signature tsd-kind-icon">Extras<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>

<aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L92">laya/gltf/glTFUtils.ts:92</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>保存 extra 处理函数对象</p>

                </div>
        </div>


    <div class="tsd-type-declaration">
        <h4>Type declaration</h4>
            <ul class="tsd-parameters">
        <li class="tsd-parameter-index-signature">
            <h5><span class="tsd-signature-symbol">[</span>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-symbol">{}</span></h5>

                
                    <ul class="tsd-parameters">
        <li class="tsd-parameter-index-signature">
            <h5><span class="tsd-signature-symbol">[</span>name: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><a href="_laya_utils_handler_.handler.html" class="tsd-signature-type">Handler</a></h5>

                
        </li>
</ul>
        </li>
</ul>
    </div>
    

</section>
    </section>
                <section class="tsd-panel-group tsd-member-group ">
        <h2>Methods</h2>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="registerextra" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> Register<wbr>Extra</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">Register<wbr>Extra<span class="tsd-signature-symbol">(</span>context<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, extraName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, handler<span class="tsd-signature-symbol">: </span><a href="_laya_utils_handler_.handler.html" class="tsd-signature-type">Handler</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L188">laya/gltf/glTFUtils.ts:188</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>注册 extra 处理函数</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>context: <span class="tsd-signature-type">string</span></h5>

                
            </li>
            <li>
                <h5>extraName: <span class="tsd-signature-type">string</span></h5>

                
            </li>
            <li>
                <h5>handler: <a href="_laya_utils_handler_.handler.html" class="tsd-signature-type">Handler</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="unregisterextra" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> Un<wbr>Register<wbr>Extra</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">Un<wbr>Register<wbr>Extra<span class="tsd-signature-symbol">(</span>context<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, extraName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, recoverHandler<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L199">laya/gltf/glTFUtils.ts:199</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>取消注册 extra 处理函数</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>context: <span class="tsd-signature-type">string</span></h5>

                
            </li>
            <li>
                <h5>extraName: <span class="tsd-signature-type">string</span></h5>

                
            </li>
            <li>
                <h5><span class="tsd-flag ts-flagDefault value">Default value</span> recoverHandler: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="_createmesh" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> _create<wbr>Mesh</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">_create<wbr>Mesh<span class="tsd-signature-symbol">(</span>glTFMesh<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfmesh.html" class="tsd-signature-type">glTFMesh</a>, glTFSkin<span class="tsd-signature-symbol">?: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfskin.html" class="tsd-signature-type">glTFSkin</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_resource_models_mesh_.mesh.html" class="tsd-signature-type">Mesh</a></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L1203">laya/gltf/glTFUtils.ts:1203</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>创建 Mesh</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFMesh: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfmesh.html" class="tsd-signature-type">glTFMesh</a></h5>

                
            </li>
            <li>
                <h5><span class="tsd-flag ts-flagOptional">Optional</span> glTFSkin: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfskin.html" class="tsd-signature-type">glTFSkin</a></h5>

                
            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_d3_resource_models_mesh_.mesh.html" class="tsd-signature-type">Mesh</a></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="_createmeshsprite3d" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> _create<wbr>Mesh<wbr>Sprite3D</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">_create<wbr>Mesh<wbr>Sprite3D<span class="tsd-signature-symbol">(</span>glTFNode<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfnode.html" class="tsd-signature-type">glTFNode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_meshsprite3d_.meshsprite3d.html" class="tsd-signature-type">MeshSprite3D</a></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L748">laya/gltf/glTFUtils.ts:748</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>创建 MeshSprite3D 对象</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFNode: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfnode.html" class="tsd-signature-type">glTFNode</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_meshsprite3d_.meshsprite3d.html" class="tsd-signature-type">MeshSprite3D</a></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="_createscenenode" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> _create<wbr>Scene<wbr>Node</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">_create<wbr>Scene<wbr>Node<span class="tsd-signature-symbol">(</span>glTFScene<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfscene.html" class="tsd-signature-type">glTFScene</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L633">laya/gltf/glTFUtils.ts:633</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>创建 glTFScene 节点</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFScene: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfscene.html" class="tsd-signature-type">glTFScene</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="_createskinnedmeshsprite3d" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> _create<wbr>Skinned<wbr>Mesh<wbr>Sprite3D</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">_create<wbr>Skinned<wbr>Mesh<wbr>Sprite3D<span class="tsd-signature-symbol">(</span>glTFNode<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfnode.html" class="tsd-signature-type">glTFNode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_skinnedmeshsprite3d_.skinnedmeshsprite3d.html" class="tsd-signature-type">SkinnedMeshSprite3D</a></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L761">laya/gltf/glTFUtils.ts:761</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>创建 MeshSprite3D 对象</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFNode: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfnode.html" class="tsd-signature-type">glTFNode</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_skinnedmeshsprite3d_.skinnedmeshsprite3d.html" class="tsd-signature-type">SkinnedMeshSprite3D</a></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="_createsprite3d" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> _create<wbr>Sprite3D</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">_create<wbr>Sprite3D<span class="tsd-signature-symbol">(</span>glTFNode<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfnode.html" class="tsd-signature-type">glTFNode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L725">laya/gltf/glTFUtils.ts:725</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>创建 节点对象</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFNode: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfnode.html" class="tsd-signature-type">glTFNode</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="_createdefaultmaterial" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> _createdefault<wbr>Material</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">_createdefault<wbr>Material<span class="tsd-signature-symbol">(</span>glTFMaterial<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfmaterial.html" class="tsd-signature-type">glTFMaterial</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_material_pbrstandardmaterial_.pbrstandardmaterial.html" class="tsd-signature-type">PBRStandardMaterial</a></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L480">laya/gltf/glTFUtils.ts:480</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>根据 glTFMaterial 节点数据创建 default Material</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFMaterial: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfmaterial.html" class="tsd-signature-type">glTFMaterial</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_material_pbrstandardmaterial_.pbrstandardmaterial.html" class="tsd-signature-type">PBRStandardMaterial</a></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="applypbrmetallicroughness" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> applyPBRMetallic<wbr>Roughness</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">applyPBRMetallic<wbr>Roughness<span class="tsd-signature-symbol">(</span>pbrMetallicRoughness<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfmaterialpbrmetallicroughness.html" class="tsd-signature-type">glTFMaterialPbrMetallicRoughness</a>, layaPBRMaterial<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_material_pbrstandardmaterial_.pbrstandardmaterial.html" class="tsd-signature-type">PBRStandardMaterial</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L553">laya/gltf/glTFUtils.ts:553</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>应用 pbrMetallicRoughness 数据</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>pbrMetallicRoughness: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfmaterialpbrmetallicroughness.html" class="tsd-signature-type">glTFMaterialPbrMetallicRoughness</a></h5>

                
            </li>
            <li>
                <h5>layaPBRMaterial: <a href="_laya_d3_core_material_pbrstandardmaterial_.pbrstandardmaterial.html" class="tsd-signature-type">PBRStandardMaterial</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="applytransform" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> apply<wbr>Transform</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">apply<wbr>Transform<span class="tsd-signature-symbol">(</span>glTFNode<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfnode.html" class="tsd-signature-type">glTFNode</a>, sprite<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L648">laya/gltf/glTFUtils.ts:648</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>应用 Transform 信息</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFNode: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfnode.html" class="tsd-signature-type">glTFNode</a></h5>

                
            </li>
            <li>
                <h5>sprite: <a href="_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="calskinnedspritelocalbounds" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> cal<wbr>Skinned<wbr>Sprite<wbr>Local<wbr>Bounds</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">cal<wbr>Skinned<wbr>Sprite<wbr>Local<wbr>Bounds<span class="tsd-signature-symbol">(</span>skinned<span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_skinnedmeshsprite3d_.skinnedmeshsprite3d.html" class="tsd-signature-type">SkinnedMeshSprite3D</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L1310">laya/gltf/glTFUtils.ts:1310</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>计算 SkinnedMeshSprite3D local bounds</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>skinned: <a href="_laya_d3_core_skinnedmeshsprite3d_.skinnedmeshsprite3d.html" class="tsd-signature-type">SkinnedMeshSprite3D</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="getaccessorcomponentsnum" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Accessor<wbr>Components<wbr>Num</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Accessor<wbr>Components<wbr>Num<span class="tsd-signature-symbol">(</span>type<span class="tsd-signature-symbol">: </span><a href="../enums/_laya_gltf_gltfinterface_.gltfaccessortype.html" class="tsd-signature-type">glTFAccessorType</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L257">laya/gltf/glTFUtils.ts:257</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>根据数据类型获取分量</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>type: <a href="../enums/_laya_gltf_gltfinterface_.gltfaccessortype.html" class="tsd-signature-type">glTFAccessorType</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="getanimationroot" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Animation<wbr>Root</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Animation<wbr>Root<span class="tsd-signature-symbol">(</span>channels<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfanimationchannel.html" class="tsd-signature-type">glTFAnimationChannel</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L1414">laya/gltf/glTFUtils.ts:1414</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <dl class="tsd-comment-tags">
                        <dt>interna</dt>
                        <dd><p>获取 Animator 根节点</p>
</dd>
                </dl>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>channels: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfanimationchannel.html" class="tsd-signature-type">glTFAnimationChannel</a><span class="tsd-signature-symbol">[]</span></h5>

                
            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_sprite3d_.sprite3d.html" class="tsd-signature-type">Sprite3D</a></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="getattributenum" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Attribute<wbr>Num</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Attribute<wbr>Num<span class="tsd-signature-symbol">(</span>attriStr<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L274">laya/gltf/glTFUtils.ts:274</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>获取 attribute 分量</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>attriStr: <span class="tsd-signature-type">string</span></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="getbufferwithaccessorindex" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Bufferwith<wbr>Accessor<wbr>Index</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Bufferwith<wbr>Accessor<wbr>Index<span class="tsd-signature-symbol">(</span>accessorIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Float32Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint32Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint16Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Int16Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Int8Array</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L308">laya/gltf/glTFUtils.ts:308</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>获取 accessor buffer 数据</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>accessorIndex: <span class="tsd-signature-type">number</span></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Float32Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint32Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Uint16Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Int16Array</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Int8Array</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="gettextureconstructparams" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Texture<wbr>Construct<wbr>Params</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Texture<wbr>Construct<wbr>Params<span class="tsd-signature-symbol">(</span>glTFImage<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfimage.html" class="tsd-signature-type">glTFImage</a>, glTFSampler<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfsampler.html" class="tsd-signature-type">glTFSampler</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L404">laya/gltf/glTFUtils.ts:404</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>获取 Texture 初始化参数</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFImage: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfimage.html" class="tsd-signature-type">glTFImage</a></h5>

                
            </li>
            <li>
                <h5>glTFSampler: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfsampler.html" class="tsd-signature-type">glTFSampler</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="gettexturefiltermode" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Texture<wbr>Filter<wbr>Mode</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Texture<wbr>Filter<wbr>Mode<span class="tsd-signature-symbol">(</span>glTFSampler<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfsampler.html" class="tsd-signature-type">glTFSampler</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L369">laya/gltf/glTFUtils.ts:369</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>获取 Texture filter mode</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFSampler: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfsampler.html" class="tsd-signature-type">glTFSampler</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="gettextureformat" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Texture<wbr>Format</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Texture<wbr>Format<span class="tsd-signature-symbol">(</span>glTFImage<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfimage.html" class="tsd-signature-type">glTFImage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L356">laya/gltf/glTFUtils.ts:356</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>获取 Texture format</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFImage: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfimage.html" class="tsd-signature-type">glTFImage</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="gettexturemipmap" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Texture<wbr>Mipmap</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Texture<wbr>Mipmap<span class="tsd-signature-symbol">(</span>glTFSampler<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfsampler.html" class="tsd-signature-type">glTFSampler</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L344">laya/gltf/glTFUtils.ts:344</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>判断 Texture 是否需要 mipmap</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFSampler: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfsampler.html" class="tsd-signature-type">glTFSampler</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="gettexturepropertyparams" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Texture<wbr>Property<wbr>Params</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Texture<wbr>Property<wbr>Params<span class="tsd-signature-symbol">(</span>glTFSampler<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfsampler.html" class="tsd-signature-type">glTFSampler</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L419">laya/gltf/glTFUtils.ts:419</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>获取 Texture 属性参数</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFSampler: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfsampler.html" class="tsd-signature-type">glTFSampler</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="gettexturewrapmode" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Texture<wbr>Wrap<wbr>Mode</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Texture<wbr>Wrap<wbr>Mode<span class="tsd-signature-symbol">(</span>mode<span class="tsd-signature-symbol">: </span><a href="../enums/_laya_gltf_gltfinterface_.gltftexturewrapmode.html" class="tsd-signature-type">glTFTextureWrapMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L392">laya/gltf/glTFUtils.ts:392</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>获取 Texture warp mode</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>mode: <a href="../enums/_laya_gltf_gltfinterface_.gltftexturewrapmode.html" class="tsd-signature-type">glTFTextureWrapMode</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="gettexturewithinfo" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> get<wbr>Texturewith<wbr>Info</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">get<wbr>Texturewith<wbr>Info<span class="tsd-signature-symbol">(</span>glTFTextureInfo<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltftextureinfo.html" class="tsd-signature-type">glTFTextureInfo</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_resource_texture2d_.texture2d.html" class="tsd-signature-type">Texture2D</a></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L436">laya/gltf/glTFUtils.ts:436</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>根据 glTFTextureInfo 获取 Texture2D</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFTextureInfo: <a href="../interfaces/_laya_gltf_gltfinterface_.gltftextureinfo.html" class="tsd-signature-type">glTFTextureInfo</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_resource_texture2d_.texture2d.html" class="tsd-signature-type">Texture2D</a></h4>


        </li>
</ul>
    

</section>
                <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a name="pickmeshmaterials" class="tsd-anchor"></a>
        <h3><span class="tsd-flag ts-flagStatic">Static</span> pick<wbr>Mesh<wbr>Materials</h3>

        <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
        <li class="tsd-signature tsd-kind-icon">pick<wbr>Mesh<wbr>Materials<span class="tsd-signature-symbol">(</span>glTFMesh<span class="tsd-signature-symbol">: </span><a href="../interfaces/_laya_gltf_gltfinterface_.gltfmesh.html" class="tsd-signature-type">glTFMesh</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a><span class="tsd-signature-symbol">[]</span></li>
</ul>

<ul class="tsd-descriptions">
        <li class="tsd-description">
                <aside class="tsd-sources">
        <ul>
                    <li>Defined in <a href="https://github.com/layabox/LayaAir/blob/428b7e7e/src/layaAir/laya/gltf/glTFUtils.ts#L585">laya/gltf/glTFUtils.ts:585</a></li>
        </ul>
</aside>
        <div class="tsd-comment tsd-typography">
                <div class="lead">
                    <p>获取 gltf mesh 中 material</p>

                </div>
        </div>


    <h4 class="tsd-parameters-title">Parameters</h4>
    <ul class="tsd-parameters">
            <li>
                <h5>glTFMesh: <a href="../interfaces/_laya_gltf_gltfinterface_.gltfmesh.html" class="tsd-signature-type">glTFMesh</a></h5>

                        <div class="tsd-comment tsd-typography">
                
        </div>

            </li>
    </ul>

    <h4 class="tsd-returns-title">Returns <a href="_laya_d3_core_material_material_.material.html" class="tsd-signature-type">Material</a><span class="tsd-signature-symbol">[]</span></h4>


        </li>
</ul>
    

</section>
    </section>

        </div>
        <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
            <nav class="tsd-navigation primary">
                <ul>
                                    <li class="globals  ">
                <a href="../globals.html"><em>Globals</em></a>
            </li>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <li class="current tsd-kind-module">
                <a href="../modules/_laya_gltf_gltfutils_.html">&quot;laya/gltf/glTFUtils&quot;</a>
            </li>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </ul>
            </nav>

            <nav class="tsd-navigation secondary menu-sticky">
                <ul class="before-current">
                            </ul>
    <ul class="current">
<li class="current tsd-kind-class tsd-parent-kind-module">
    <a href="_laya_gltf_gltfutils_.gltfutils.html" class="tsd-kind-icon">glTFUtils</a>
        <ul>
                <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#extensions" class="tsd-kind-icon">Extensions</a>
</li>
                <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#extras" class="tsd-kind-icon">Extras</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#registerextra" class="tsd-kind-icon">Register<wbr>Extra</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#unregisterextra" class="tsd-kind-icon">Un<wbr>Register<wbr>Extra</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#_createmesh" class="tsd-kind-icon">_create<wbr>Mesh</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#_createmeshsprite3d" class="tsd-kind-icon">_create<wbr>Mesh<wbr>Sprite3D</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#_createscenenode" class="tsd-kind-icon">_create<wbr>Scene<wbr>Node</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#_createskinnedmeshsprite3d" class="tsd-kind-icon">_create<wbr>Skinned<wbr>Mesh<wbr>Sprite3D</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#_createsprite3d" class="tsd-kind-icon">_create<wbr>Sprite3D</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#_createdefaultmaterial" class="tsd-kind-icon">_createdefault<wbr>Material</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#applypbrmetallicroughness" class="tsd-kind-icon">applyPBRMetallic<wbr>Roughness</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#applytransform" class="tsd-kind-icon">apply<wbr>Transform</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#calskinnedspritelocalbounds" class="tsd-kind-icon">cal<wbr>Skinned<wbr>Sprite<wbr>Local<wbr>Bounds</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#getaccessorcomponentsnum" class="tsd-kind-icon">get<wbr>Accessor<wbr>Components<wbr>Num</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#getanimationroot" class="tsd-kind-icon">get<wbr>Animation<wbr>Root</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#getattributenum" class="tsd-kind-icon">get<wbr>Attribute<wbr>Num</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#getbufferwithaccessorindex" class="tsd-kind-icon">get<wbr>Bufferwith<wbr>Accessor<wbr>Index</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#gettextureconstructparams" class="tsd-kind-icon">get<wbr>Texture<wbr>Construct<wbr>Params</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturefiltermode" class="tsd-kind-icon">get<wbr>Texture<wbr>Filter<wbr>Mode</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#gettextureformat" class="tsd-kind-icon">get<wbr>Texture<wbr>Format</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturemipmap" class="tsd-kind-icon">get<wbr>Texture<wbr>Mipmap</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturepropertyparams" class="tsd-kind-icon">get<wbr>Texture<wbr>Property<wbr>Params</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturewrapmode" class="tsd-kind-icon">get<wbr>Texture<wbr>Wrap<wbr>Mode</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#gettexturewithinfo" class="tsd-kind-icon">get<wbr>Texturewith<wbr>Info</a>
</li>
                <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
    <a href="_laya_gltf_gltfutils_.gltfutils.html#pickmeshmaterials" class="tsd-kind-icon">pick<wbr>Mesh<wbr>Materials</a>
</li>
        </ul>
</li>
    </ul>
    <ul class="after-current">
                </ul>
            </nav>
        </div>
    </div>
</div>


<footer>
    <div class="container">
        <h2>Legend</h2>
        <div class="tsd-legend-group">
                <ul class="tsd-legend">
                        <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
                        <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
                </ul>
                <ul class="tsd-legend">
                        <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
                        <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
                </ul>
                <ul class="tsd-legend">
                        <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
                        <li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
                </ul>
                <ul class="tsd-legend">
                        <li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
                </ul>
                <ul class="tsd-legend">
                        <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
                </ul>
        </div>
    </div>
</footer>


<div class="overlay"></div>
<script src="../assets/js/main.js"></script>


</body>
</html>
